package com.ymttest.database.sharding.db.sharding.model;

import java.math.BigDecimal;
import java.util.Date;

public class RefundFundPo {
    /**
     * order_id BIGINT(19) 必填<br>
     * 订单号
     */
    private Long orderId;

    /**
     * user_thirdparty_amount DECIMAL(18,2) 必填<br>
     * 退回第三方金额
     */
    private BigDecimal userThirdpartyAmount;

    /**
     * user_account_amount DECIMAL(18,2) 必填<br>
     * 退回账户余额
     */
    private BigDecimal userAccountAmount;

    /**
     * user_ymt_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 退回平台优惠券金额
     */
    private BigDecimal userYmtCouponAmount;

    /**
     * user_seller_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 退回给用户 买手优惠券金额
     */
    private BigDecimal userSellerCouponAmount;

    /**
     * user_card_amount DECIMAL(18,2) 必填<br>
     * 退回预付卡金额
     */
    private BigDecimal userCardAmount;

    /**
     * deducted_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 从买手账户扣款总金额
     */
    private BigDecimal deductedAmount;

    /**
     * deducted_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 从买手账户扣回平台优惠券总金额
     */
    private BigDecimal deductedCouponAmount;

    /**
     * deducted_promotion_amount DECIMAL(18,2)<br>
     * 从买手账户扣回平台优惠总金额
     */
    private BigDecimal deductedPromotionAmount;

    /**
     * freight DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 退回运费金额
     */
    private BigDecimal freight;

    /**
     * thirdparty_discount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 退回第三方优惠金额
     */
    private BigDecimal thirdpartyDiscount;
    
    /**
     * user_rebate_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 退回返点金额
     */
    private BigDecimal userRebateAmount;
    
    /**
     * 退回的买家鉴别费
     */
    private BigDecimal userAuthenticateFee;

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 新增时间
     */
    private Date addTime;

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 更新时间
     */
    private Date updateTime;

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单号
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单号
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * user_thirdparty_amount DECIMAL(18,2) 必填<br>
     * 获得 退回第三方金额
     */
    public BigDecimal getUserThirdpartyAmount() {
        return userThirdpartyAmount;
    }

    /**
     * user_thirdparty_amount DECIMAL(18,2) 必填<br>
     * 设置 退回第三方金额
     */
    public void setUserThirdpartyAmount(BigDecimal userThirdpartyAmount) {
        this.userThirdpartyAmount = userThirdpartyAmount;
    }

    /**
     * user_account_amount DECIMAL(18,2) 必填<br>
     * 获得 退回账户余额
     */
    public BigDecimal getUserAccountAmount() {
        return userAccountAmount;
    }

    /**
     * user_account_amount DECIMAL(18,2) 必填<br>
     * 设置 退回账户余额
     */
    public void setUserAccountAmount(BigDecimal userAccountAmount) {
        this.userAccountAmount = userAccountAmount;
    }

    /**
     * user_ymt_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 退回平台优惠券金额
     */
    public BigDecimal getUserYmtCouponAmount() {
        return userYmtCouponAmount;
    }

    /**
     * user_ymt_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 退回平台优惠券金额
     */
    public void setUserYmtCouponAmount(BigDecimal userYmtCouponAmount) {
        this.userYmtCouponAmount = userYmtCouponAmount;
    }

    /**
     * user_seller_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 退回给用户 买手优惠券金额
     */
    public BigDecimal getUserSellerCouponAmount() {
        return userSellerCouponAmount;
    }

    /**
     * user_seller_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 退回给用户 买手优惠券金额
     */
    public void setUserSellerCouponAmount(BigDecimal userSellerCouponAmount) {
        this.userSellerCouponAmount = userSellerCouponAmount;
    }

    /**
     * user_card_amount DECIMAL(18,2) 必填<br>
     * 获得 退回预付卡金额
     */
    public BigDecimal getUserCardAmount() {
        return userCardAmount;
    }

    /**
     * user_card_amount DECIMAL(18,2) 必填<br>
     * 设置 退回预付卡金额
     */
    public void setUserCardAmount(BigDecimal userCardAmount) {
        this.userCardAmount = userCardAmount;
    }

    /**
     * deducted_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 从买手账户扣款总金额
     */
    public BigDecimal getDeductedAmount() {
        return deductedAmount;
    }

    /**
     * deducted_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 从买手账户扣款总金额
     */
    public void setDeductedAmount(BigDecimal deductedAmount) {
        this.deductedAmount = deductedAmount;
    }

    /**
     * deducted_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 从买手账户扣回平台优惠券总金额
     */
    public BigDecimal getDeductedCouponAmount() {
        return deductedCouponAmount;
    }

    /**
     * deducted_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 从买手账户扣回平台优惠券总金额
     */
    public void setDeductedCouponAmount(BigDecimal deductedCouponAmount) {
        this.deductedCouponAmount = deductedCouponAmount;
    }

    /**
     * deducted_promotion_amount DECIMAL(18,2)<br>
     * 获得 从买手账户扣回平台优惠总金额
     */
    public BigDecimal getDeductedPromotionAmount() {
        return deductedPromotionAmount;
    }

    /**
     * deducted_promotion_amount DECIMAL(18,2)<br>
     * 设置 从买手账户扣回平台优惠总金额
     */
    public void setDeductedPromotionAmount(BigDecimal deductedPromotionAmount) {
        this.deductedPromotionAmount = deductedPromotionAmount;
    }

    /**
     * freight DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 退回运费金额
     */
    public BigDecimal getFreight() {
        return freight;
    }

    /**
     * freight DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 退回运费金额
     */
    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    /**
     * thirdparty_discount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 退回第三方优惠金额
     */
    public BigDecimal getThirdpartyDiscount() {
        return thirdpartyDiscount;
    }

    /**
     * thirdparty_discount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 退回第三方优惠金额
     */
    public void setThirdpartyDiscount(BigDecimal thirdpartyDiscount) {
        this.thirdpartyDiscount = thirdpartyDiscount;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 新增时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 新增时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public BigDecimal getUserRebateAmount() {
		return userRebateAmount;
	}

	public void setUserRebateAmount(BigDecimal userRebateAmount) {
		this.userRebateAmount = userRebateAmount;
	}

	public BigDecimal getUserAuthenticateFee() {
		return userAuthenticateFee;
	}

	public void setUserAuthenticateFee(BigDecimal userAuthenticateFee) {
		this.userAuthenticateFee = userAuthenticateFee;
	}

	public RefundFundPo() {
    	this.userAccountAmount = BigDecimal.ZERO;
    	this.deductedAmount = BigDecimal.ZERO;
    	this.thirdpartyDiscount = BigDecimal.ZERO;
    	this.userThirdpartyAmount = BigDecimal.ZERO;
    	this.userRebateAmount = BigDecimal.ZERO;
    	this.userAuthenticateFee = BigDecimal.ZERO;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderId=").append(orderId);
        sb.append(", userThirdpartyAmount=").append(userThirdpartyAmount);
        sb.append(", userAccountAmount=").append(userAccountAmount);
        sb.append(", userYmtCouponAmount=").append(userYmtCouponAmount);
        sb.append(", userSellerCouponAmount=").append(userSellerCouponAmount);
        sb.append(", userCardAmount=").append(userCardAmount);
        sb.append(", deductedAmount=").append(deductedAmount);
        sb.append(", deductedCouponAmount=").append(deductedCouponAmount);
        sb.append(", deductedPromotionAmount=").append(deductedPromotionAmount);
        sb.append(", freight=").append(freight);
        sb.append(", thirdpartyDiscount=").append(thirdpartyDiscount);
        sb.append(", userRebateAmount=").append(this.userRebateAmount);
        sb.append(", userAuthenticateFee=").append(this.userAuthenticateFee);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}